<h1>Listing dingdan2shangpins</h1>

<table>
  <tr>
    <th>Dingdan</th>
    <th>Shangpin</th>
    <th>Shuliang</th>
  </tr>

<% @dingdan2shangpins.each do |dingdan2shangpin| %>
  <tr>
    <td><%=h dingdan2shangpin.dingdan_id %></td>
    <td><%=h dingdan2shangpin.shangpin_id %></td>
    <td><%=h dingdan2shangpin.shuliang %></td>
    <td><%= link_to 'Show', dingdan2shangpin %></td>
    <td><%= link_to 'Edit', edit_dingdan2shangpin_path(dingdan2shangpin) %></td>
    <td><%= link_to 'Destroy', dingdan2shangpin, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New dingdan2shangpin', new_dingdan2shangpin_path %>